﻿using Cherry.Agile.Enterprise.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Cherry.Agile.Web.Areas.Admin.Controllers
{
    public class TestController : Controller
    {
        // GET: Admin/Test
        public ActionResult Index()
        {
            return View(GetStaffInfos());
        }

        private IList<StaffInfo> GetStaffInfos()
        {
            IList<StaffInfo> staffInfos = new List<StaffInfo>();
            staffInfos.Add(new StaffInfo()
            {
                StaffID = 1,
                StaffName = "xieshaoguang",
                Phone = "12344t5t66"
            });

            staffInfos.Add(new StaffInfo()
            {
                StaffID = 2,
                StaffName = "CherryXiong",
                Phone = "12344t5t66"
            });

            staffInfos.Add(new StaffInfo()
            {
                StaffID = 1,
                StaffName = "xieshaofeng",
                Phone = "12344t5t66"
            });
            return staffInfos;
        }
    }
}